import {
  request
} from "./request"

export const getShopList = (params) => {
  return request({
    url: '/system/gemouser/getShopList',
    data: params,
    method:"POST"
  })
}

export const getshopinfo = (params) => {
  return request({
    url: '/system/gemouser/getshopinfo',
    data: params,
    method:"POST"
  })
}


export const spaList = (params) => {
  return request({
    url: '/system/gemo/activity/spaList',
    method:"GET"
  })
}

export const spaProjectList = (params) => {
    return request({
        url: '/system/gemo/activity/spaProjectList/'+params,
        method:"GET"
    })
}

export const submitSpaBooking = (params) => {
    return request({
        url: '/system/gemo/activity/submitSpaBooking',
        data: params,
        method:"POST"
    })
}

export const getBookingInfo = (params) => {
    return request({
        url: '/system/gemo/activity/getBookingInfo',
        method:"GET"
    })
}

export const getBookingQrCodeImg = (params) => {
    return request({
        url: '/system/gemo/activity/getBookingQrCodeImg',
        method:"GET"
    })
}

export const shopcollect = (params) => {
    return request({
        url: '/system/gemouser/shopcollect',
        data: params,
        method:"POST"
    })
}

export const getShopBookingInfo = (params) => {
    return request({
        url: '/system/gemo/shop/getBookingInfo',
        data: params,
        method:"POST"
    })
}

export const checkOutBooking = (params) => {
    return request({
        url: '/system/gemo/shop/checkOutBooking',
        data: params,
        method:"POST"
    })
}

export const submitSpaBookingInfo = (params) => {
    return request({
        url: '/system/gemo/activity/submitSpaBookingInfo',
        data: params,
        method:"POST"
    })
}

export const verifyMemberPoints = (params) => {
    return request({
        url: '/system/gemo/activity/spa/verifyMemberPoints',
        data: params,
        method:"POST"
    })
}
// 提交spa评分
export const submitSpaBookingScore = (params) => {
  return request({
      url: '/system/gemo/activity/submitSpaBookingScore',
      data: params,
      method:"POST"
  })
}
// 升单
export const submitSpaBookingUpgrade = (params) => {
  return request({
      url: '/system/gemo/activity/submitSpaBookingUpgrade',
      data: params,
      method:"POST"
  })
}